// 测试相关接口
package api

import (
	"gin_test/result"
	"github.com/gin-gonic/gin"
)

func Success(c *gin.Context) {
	result.Success(c, nil)
}

func Fail(c *gin.Context) {
	result.Failed(c, result.CodeFailed, "", nil)
}

func Default(c *gin.Context) {
	result.Success(c, nil)
}
